Copyright ã1995 by NeXT Computer, Inc.  All Rights Reserved.

Protocols

NXDraggingDestination

Adopted By:	no NeXTSTEP classes

Before the Image is Released

- (NXDragOperation)draggingEntered:(id <NXDraggingInfo>)sender
	Invoked when the dragged image enters the destination

- (NXDragOperation)draggingUpdated:(id <NXDraggingInfo>)sender
	Invoked periodically while the image is over the destination

- draggingExited:(id <NXDraggingInfo>)sender	Invoked when the dragged image exits the destination

After the Image is Released

- (BOOL)prepareForDragOperation:(id <NXDraggingInfo>)sender
	Invoked when the image is released

 - (BOOL)performDragOperation:(id <NXDraggingInfo>)sender
	Gives the destination an opportunity to perform the dragging operation

- concludeDragOperation:(id <NXDraggingInfo>)sender
	Invoked when the dragging operation is complete.

NXDraggingInfo

Adopted By:	no NeXTSTEP classes

Dragging-Session Information

- (BOOL)isDraggingSourceLocal	Returns whether the source and destination are in the same application

- draggingSource	Returns the source of the dragged image

- (NXDragOperation)draggingSourceOperationMask
	Returns the operation mask declared by the source

- draggingDestinationWindow	Returns the destination's Window

- (Pasteboard *)draggingPasteboard	Returns the Pasteboard that holds the dragged data

- (int)draggingSequenceNumber	Returns a number that identifies the dragging session

- (NXPoint)draggingLocation	Returns the cursor's location

Image Information

- (NXImage *)draggedImage	Returns the NXImage object that's being dragged

- (NXImage *)draggedImageCopy	Returns a copy of the NXImage object that's being dragged

- (NXPoint)draggedImageLocation	Returns the current location of the dragged image's origin

Sliding the Image

- slideDraggedImageTo:(NXPoint *)screenPoint	Slides the image to the given location in the screen coordinate system

NXDraggingSource
(informal protocol)

Category Of:	Object

Querying the Source

-(NXDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal

	Returns a mask giving the operations that can be performed on the dragged image's data

Informing the Source

- draggedImage:(NXImage *)image	 Invoked when the dragged image is displayed but before it
beganAt:(NXPoint *)screenPoint		starts following the mouse

- draggedImage:(NXImage *)image	Invoked after the dragged image has been released and the
endedAt:(NXPoint *)screenPoint		dragging destination has been given a chance to operate
deposited:(BOOL)didDeposit

NXNibNotification
(informal protocol)

Category Of:	Object

Response on Loading

- awakeFromNib	Implemented to respond to notifications sent after objects have been loaded from a nib file

NXPrintingUserInterface
(informal protocol)

Category Of:	Object

Printer Panel

- (BOOL)shouldRunPrintPanel:aView	Implemented to indicate whether the Print panel (or Fax panel) should be displayed to the user

NXRTFDErrorHandler

Adopted By:	No NeXTSTEP Classes

Notification of Overwrite

- (BOOL)attemptOverwrite:(const char *)filename	Notifies the receiver that the user is attempting to save an RTFD document in a location for which the user doesn't have search permission

NXServicesRequests
(informal protocol)

Category Of:	Object

Pasteboard Read/Write

- readSelectionFromPasteboard:pboard	Implemented to replace selection with data from pboard

- (BOOL)writeSelectionToPasteboard:pboard types:(NXAtom *)types
	Implemented to write the selection to pboard as types data

NXWorkspaceRequestProtocol

Adopted By:	no NeXTSTEP classes

Opening Files

- (BOOL)openFile:(const char *)fullPath	Asks Workspace Manager to open the file at fullPath

- (BOOL)openFile:(const char *)fullPath	Asks Workspace Manager to open the file at fullPath
 withApplication:(const char *)appName		using appName

- (BOOL)openFile:(const char *)fullPath	Asks Workspace Manager to open the file at fullPath
fromImage:(NXImage *)anImage		using the specified image
at:(const NXPoint *)point
inView:(View *)aView

- (BOOL)openFile:(const char *)fullPath 	Asks Workspace Manager to open the file at fullPath
withApplication:(const char *)appName 		and optionally deactivate sender
andDeactivate:(BOOL)flag

- (BOOL)openTempFile:(const char *)fullPath	Instructs Workspace Manager to open a temporary file specified by fullPath

- (BOOL)findString:(const char *)aString 	Instructs Workspace Manager to open filename and
inFile:(const char *)filename		select aString

Manipulating Applications

- (BOOL)launchApplication:(const char *)appName
	Instructs Workspace Manager to launch appName

- (BOOL)launchApplication:(const char *)appName	 
showTile:(BOOL)showTile 	Instructs Workspace Manager to launch appName
autolaunch:(BOOL)autolaunch

- (void)hideOtherApplications	Hides all applications other than the sender

Manipulating Files

- (int)performFileOperation:(const char *)operation	Asks Workspace Manager to perform a file operation
source:(const char *)source	 
destination:(const char *)destination 
files:(const char *)files 
options:(const char *)options

- (BOOL)selectFile:(const char *)fullPath	 Asks Workspace Manager to select the file at fullPath
inFileViewerRootedAt:(const char *)rootFullpath

Requesting Information About Files

- (NXImage *)getIconForFile:(const char *)fullPath	Returns an NXImage with the icon for file at fullPath

- (BOOL)getInfoForFile:(const char *)fullPath	Retrieves information about the file at fullPath
application:(char **)appName 
type:(NXAtom *)type

- (const char *)getFullPathForApplication:(const char *)appName
	Returns the full path for the application appName

- (BOOL)getInfoForFileSystemAt:(const char *)fullPath 
isRemovable:(BOOL *)removableFlag	Describes the file system at fullPath
isWritable:(BOOL *)writableFlag 
isUnmountable:(BOOL *)unmountableFlag 
description:(char **)description 
type:(char **)fileSystemType

Requesting Additional Time Before Logout

- (int)extendPowerOffBy:(int)requestedMs	Requests more time before the power goes off or the user logs out

Tracking Changes to the File System

- (void)fileSystemChanged	Informs Workspace Manager that the file system has changed

- (BOOL)didFileSystemChange	Reports whether Workspace Manager has been informed of a change to file system

Updating Registered Services and File Types

- (void)findApplications	Instructs Workspace Manager to update its records of applications, registered services, and file types

Tracking Changes to the Defaults Database

- (void)defaultsChanged	Informs Workspace Manager that the defaults database has changed

- (BOOL)didDefaultsChange	Reports whether Workspace Manager has been informed of a change to the defaults database

Tracking Status Changes for Applications and Devices

- (void)beginListeningForApplicationStatusChanges
	Registers sender for notifications of application launches and terminations

- (void)endListeningForApplicationStatusChanges
	Unregisters sender for notifications of application launches and terminations

- (void)beginListeningForDeviceStatusChanges	Registers sender for notification of disk mountings and unmountings

- (void)endListeningForDeviceStatusChanges	Unregisters sender for notification of disk mountings and unmountings

- (BOOL)getMountedRemovableMedia:(char **)pathnames
	Gets the paths to mounted removable media

- (BOOL)mountNewRemovableMedia:(char **)newPaths
	Mounts media synchronously

- (void)checkForRemovableMedia	Mounts media asynchronously

Animating an Image

- (void)slideImage:(NXImage *)image	Instructs Workspace Manager to animate a sliding 
from:(const NXPoint *)fromPoint 		image of image from fromPoint to toPoint
to:(const NXPoint *)toPoint

Unmounting a Device

- (BOOL)unmountAndEjectDeviceAt:(const char *)path
	Unmounts and ejects the device at path